Remove(KeyValuePair<TKey,TValue>) Method

Summary
Removes the first occurrence of a specific object from the ICollection.
Syntax
C#
VB
C++
public virtual bool Remove( 
   KeyValuePair<TKey, TValue> item 
) 
  
Public Overloads Overridable Function Remove( _ 
   ByVal item As KeyValuePair(Of TKey,TValue) _ 
) As Boolean 
public: 
virtual bool Remove(  
   KeyValuePair<TKey^,TValue^> item 
)  

Parameters

item
The object to remove from the ICollection.

Return Value

true if item was successfully removed from the ICollection; otherwise, false. This method also returns false if item is not found in the original ICollection.

Exceptions

ExceptionDescription
System.NotSupportedExceptionThe ICollection is read-only.
Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.